// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Core;

namespace Azure.IoT.TimeSeriesInsights
{
    // TODO: This class has been customized to suppress a build error that the name of the class is too generic and single worded. We
    // recommend changing the swagger file to rename the model. This way, the customization done here is no longer needed. This also ensures
    // that when client libraries are to be generated for different languages, the model names stay the same.
    [CodeGenModel("Tsx")]
    public partial class TimeSeriesExpression
    {
        /// <summary> Time series expression (TSX) written as a single string. Examples: &quot;$event.Status.String=&apos;Good&apos;&quot;, &quot;avg($event.Temperature)&quot;. Refer to the documentation on how to write time series expressions. </summary>
        [CodeGenMember("Tsx")]
        public string Expression { get; set; }
    }
}
